import Demo4.IRuning;

public class Robot implements IRuning {
  public String name;

    public Robot(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.println(this.name + "正在跑步...");
    }
}
